leo108 / php_cas_server

PHP CAS Server
MIT License
219 stars 47 forks source link

How to know our random API key ? #9

Closed pokapow closed 7 years ago

pokapow commented 7 years ago

How to know our random API key ? In the conf file, this is encrypt.

leo108 commented 7 years ago

Sorry, I don't get what you mean

pokapow commented 7 years ago

php_cas generate an randam key api, right ? And I guess we need this key to connect another service to this sso, so i would know how to get this key api, cause in the config file, this key is encrypt.

leo108 commented 7 years ago

@pokapow there is no api key concept in CAS protocol v1/v2/v3.

this project needs an APP_KEY in .env file (most laravel projects need this indeed), you just need to run php artisan key:generate to generate one and then you can forget it.

pokapow commented 7 years ago

Oh ok thank you, I missunderstood something.