datamweb / shield-oauth

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

feat: add used env config for keys #100

Closed datamweb closed 4 months ago

datamweb commented 5 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