@(form: Form[_])(implicit ctx: Context) @moreCss = { @cssTag("material.form.css") } @title = @{ "New personal API access token" } @account.layout( title = title, active = "oauth", evenMoreCss = moreCss ) {

@title

New personal access token Personal access tokens function like ordinary lichess OAuth access tokens. They can be used to authenticate to the API over Basic Authentication.

@base.form.group(form("description"), Html("Token description")) { @base.form.input(form("description"), required = true) }

Scopes define the access for personal tokens:

@lila.oauth.OAuthScope.all.map { scope => }
@base.form.submit()
}