datamweb / shield-oauth

OAuth for CodeIgniter Shield
https://www.shield-oauth.codeigniter4.ir/
MIT License
61 stars 16 forks source link

feat: add used env config for keys #100

Closed datamweb closed 8 months ago

datamweb commented 9 months ago

close #99 This PR allows you to set the keys in file .env. Example:

ShieldOAuthConfig.google.client_id = your google client_id key
ShieldOAuthConfig.google.client_secret = Your google client_secret  key