bsw@1498: if app.scopes.identification then bsw@1498: app.session.member_id = app.access_token.member_id bsw@1498: app.session:save() bsw@1498: request.redirect{ external = request.get_absolute_baseurl() .. "initiative/show/" .. param.get("id") .. ".html" } bsw@1498: else bsw@1498: slot.put("missing access token or scope") bsw@1498: end bsw@1498: