Custom Attributes
Learn how to add custom attributes to your organisations and users.

Introduction

OwnIdP stores a number of default attributes:

User attributes

  • First name
  • Last name
  • Email
  • Username (optional, if username is allowed as login method)

Organisation attributes

  • Name
  • Chamber of Commerce number (optional)
  • Branch number (optional)
  • Organisation code (optional)
In addition to these predefined attributes, you can add custom attributes to Organisations, Organisation-Users and Users. The only restriction is the support attribute types (String, Integer, Date, Boolean).

Technical specifications

Field Name
Max length
Required
Constraints
Name
128
Yes
Can not start with a digit
Description
Yes
Text
Type
Dropdown
Yes
Can only be one of Boolean, Date, Integer, String
Value
No
Text/number

Custom attributes types

Type
Allowed values
Boolean
False,True, 0, 1
Date
Any date in YYYY-MM-DD format
Integer
Positive or negative non-decimal numbers
String
Everything
Note: An attribute with the same name (either custom or predefined) should not exist.