Gossamer Forum
Quote Reply
Authentication Plugin

I am trying to make an authentication plugin that takes authentication information from environment variables. If the user is authenticated at our site, his username, realname, email and the groups he belongs to are readable in the environment variables. I have managed to authenticate the user to GF with a plugin, but now I would like to add automatically new users to be registered members based on the information in %ENV and also update that information automatically each time the user begins a new session. A few questions:

1. Should I use signup_submit or rewrite it? Which hook should be used for creating new users to the GF database automatically?

2. Which hook should be used to change the information and membership of the groups?

3. Will there be any example plugins of authentication?