The 20 year old has represented England at U19 level and has played reserve team football for Blackburn.
"He is a good young keeper," said Gray.
"He trained with us on Monday afternoon and fitted in well.
"For a keeper so young he has a good deal of experience after a successful loan at Wycombe last season and he is coming here to add to our squad."